<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../vue.global.js"></script>
</head>

<body>
    <div id="app">
        <div :style="{ color: activeColor, fontSize: fontSize + 'px' }">
            令你的Head
        </div>
        <div :style="styleObject">
            令你的Bottom
        </div>

        <div :style="[baseStyles, overridingStyles]">
            令你的Feet
        </div>

        <div :style="{ display: ['-webkit-box', '-ms-flexbox', 'flex'] }">
            令你的Arms
        </div>

    </div>

    <script>
        const app = {
            data() {
                return {
                    activeColor: 'red',
                    fontSize: 30,
                    styleObject: {
                        color: 'red',
                        fontSize: '13px'
                    },
                    baseStyles: {
                        color: 'black',
                        fontSize: '16px'
                    },
                    overridingStyles: {
                        color: 'red',
                        border: '1px solid black'
                    }
                }
            }
        }
        Vue.createApp(app).mount("#app")
    </script>
</body>

</html>